{% extends "base.html" %}

{% block title %}{{ section.title }}{% endblock %}

{% block content %}
 Recent adds
{% for add in all_adds %}
<div class="container" style="background-color: rgb(236, 247, 255); background-position: initial initial; background-repeat: initial initial;">

{{add.ad_title}} : {{add.ad_latest_date}} <br>
<img src="/media/{{add.ad_image}}" style="background-color:green;height:100px;" />
{{add.ad_location}} <br>
{{add.ad_email}} <br>
By: {{add.ad_posted_by}}
<a href="/myapp/view_add/{{add.id}}">view</a>
</div><br>
{% endfor %}
{% endblock %}


